package com.orilx.lowtea.article
import com.orilx.lowtea.user.ProfileModel
import java.time.Instant

data class ArticleCreateRequest(val article: Article) {
    data class Article(
        val title: String,
        val content: String,
    )
}

data class ArticleModel (
    val postId: String,
    val title: String,
    val content: String,
    val sender: ProfileModel,
    val sendTime: Instant
)

data class ArticleResponse(val article: ArticleModel)

data class ArticlesResponse(val articles: List<ArticleModel>, val articlesCount: Long)
